package caiziyou.com.designpattern.builder.improve;

public class Client {

	public static void main(String[] args) {
		HouseDirector houseDirector = new HouseDirector(new CommonHouse());
		House commonHouse = houseDirector.constructHouse();
		System.out.println("-----------------------------");
		houseDirector.setHouseBuilder(new HighBuilding());
		House highBuilder = houseDirector.constructHouse();
	}
}
